package com.cn.entity;

import java.util.Date;

/**
 * Created by chenyuncong on 2018/8/6.
 */
public class RunLogTime extends RunLog {
    private Long add_time_long;
    private Long the_time_long;

    public RunLogTime(){};

    public RunLogTime(Long add_time_long, Long the_time_long) {
        this.add_time_long = add_time_long;
        this.the_time_long = the_time_long;
    }

    public RunLogTime(RunLog r, Long add_time_long, Long the_time_long) {
        super(r.getAdd_time(), r.getAll_control_data(), r.getCustomer_name(), r.getError_stop(),
                r.getL_id(), r.getIp(),r.getMac(), r.getMac_run_status(), r.getNormal_stop(),
                r.getRunning(), r.getThe_event(), r.getThe_time(), r.getCompany_id());
        this.add_time_long = add_time_long;
        this.the_time_long = the_time_long;
    }

    public RunLogTime(Date add_time, String all_control_data, String customer_name, Integer error_stop, Integer l_id, String ip, String mac, Integer mac_run_status, Integer normal_stop, Integer running, String the_event, Date the_time, Integer company_id, Long add_time_long, Long the_time_long) {
        super(add_time, all_control_data, customer_name, error_stop, l_id, ip, mac, mac_run_status, normal_stop, running, the_event, the_time, company_id);
        this.add_time_long = add_time_long;
        this.the_time_long = the_time_long;
    }

    public Long getAdd_time_long() {
        return add_time_long;
    }

    public void setAdd_time_long(Long add_time_long) {
        this.add_time_long = add_time_long;
    }

    public Long getThe_time_long() {
        return the_time_long;
    }

    public void setThe_time_long(Long the_time_long) {
        this.the_time_long = the_time_long;
    }
}
